#Para instalar o grub #ex.: chroot /mnt/arch cd /mnt/arch # or where you are preparing the chroot dir mount --rbind /proc /mnt/proc/ mount --rbind /sys /mnt/sys/ mount --rbind /dev /mnt/dev/ mount --rbind /dev/pts /mnt//dev/pts # chroot /mnt/arch # grub-install /dev/sda --force or dpkg-reconfigure grub-pc or for efi dpkg-reconfigure grub-efi-amd64 #-signed How to set the RESUME variable The swap UUID needs to be added to the /etc/initramfs-tools/conf.d/resume file. The following command can show what your swap UUID is: blkid | awk -F\" '/swap/ {print $2}' e You can run the following to set that in the RESUME file (it will be created if it doesn't exist in that folder ): printf "RESUME=UUID=$(blkid | awk -F\" '/swap/ {print $2}')\n" | sudo tee /etc/initramfs-tools/conf.d/resume Then run the following to update the kernels on the system: sudo update-initramfs -u -k all Reboot the system so the changes can take affect. GRUB_DISABLE_OS_PROBER=false to /etc/default/grub and run sudo update-grub. The procedure is as follows: Backup the system. Update existing packages and reboot the Debian 11 system. Edit the file /etc/apt/sources.list using a text editor and replace each instance of bullseye with bookworm. Next find the update line, replace keyword bullseye-updates with bookworm-updates. Finally, search the security line, replace keyword bullseye-security with bookworm-security. Update the packages index on Debian Linux, run: sudo apt update Prepare for the operating system minimal system upgrade, run: sudo apt upgrade --without-new-pkgs Finally, update Debian 11 to Debian 12 Bookworm by running: sudo apt full-upgrade Reboot the Linux system so that you can boot into Debian 12 Bookworm